package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.OrderStatus;
import com.cloudfun.campusshare.common.constant.ProductType;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : zhangyongjie
 * @version : 1.0
 * @createTime : 2020/4/18 14:15
 * @description :
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "进行中订单")
public class ExecutingOrderListVO extends WaitQueueInfo{
    @ApiModelProperty(value = "订单id")
    private String id;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "订单名称")
    private String orderName;

    @ApiModelProperty(value = "设备识别码")
    @JsonProperty("deviceId")
    private String imei;

    @ApiModelProperty(value = "设备地址")
    private String devicePlace;

    @ApiModelProperty(value = "剩余用时")
    private String leftTime;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "产品类型")
    private ProductType productType;

    @ApiModelProperty(value = "订单状态")
    private OrderStatus status;

    @ApiModelProperty(value = "是否是直接预约")
    private Boolean isSubscribe;
}
